package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新闻相册
 */
@ApiModel(description = "新闻相册")
public class NewsInfoImg {
	
	private Long				id;					// ID
	private Long				newsInfoId;			// 新闻ID
	private String				type;				// 图片类型
	private String				imgUrl;				// 图片地址
	private Integer				delFlag;			// 删除标志:1是删除，0是未删除
	private Long				createId;			// 创建者
	private String				createTime;			// 创建时间
	private Long				updateId;			// 更新者
	private String				updateTime;			// 更新时间
	private String				imgKey;				// 前端使用的key
	
	public static final String	COVER	= "COVER";
	public static final String	MAIN	= "MAIN";
	public static final String	SUB		= "SUB";
	
	@ApiModelProperty(value = "ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "新闻ID")
	public Long getNewsInfoId() {
		return newsInfoId;
	}
	
	public void setNewsInfoId(Long newsInfoId) {
		this.newsInfoId = newsInfoId;
	}
	
	@ApiModelProperty(value = "图片类型")
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	@ApiModelProperty(value = "图片地址 'COVER','MAIN','SUB'：封面 ，主图， 小图")
	public String getImgUrl() {
		return imgUrl;
	}
	
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	
	@ApiModelProperty(value = "删除标志:1是删除，0是未删除")
	public Integer getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "创建者")
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@ApiModelProperty(value = "更新者")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "前端使用的key")
	public String getImgKey() {
		return imgKey;
	}
	
	public void setImgKey(String imgKey) {
		this.imgKey = imgKey;
	}
}
